#!/bin/bash
# Water Eject — macOS launcher (A Copy Promt Product)
URL="https://copypromt.com/app/water-eject/index.html?platform=macos"
for b in "Google Chrome" "Microsoft Edge" "Brave Browser" "Chromium" "Arc"; do
  if [ -d "/Applications/$b.app" ]; then
    open -na "$b" --args --app="$URL" --window-size=430,920 2>/dev/null && exit 0
  fi
done
open "$URL"
exit 0
